I am defining a couple of variables as below to be a local macro. But Stata 17 is not recognizing 'cllpred' as a local macro. What am I doing wrong?
Tried:
local cllpred cllcd38f cllzap70
display cllpred
cllpred not found
-------------------------------------------------------------------------------------------------------------------------------------
Tried:
local cllpred cllcd38f cllzap70
display cllpred
cllpred not found
-------------------------------------------------------------------------------------------------------------------------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(cllcd38f cllzap70) 0 0 1 1 0 1 . . . . 1 0 0 0 0 . 1 1 . . . . . . 1 1 . . 0 1 . . . . . . 1 1 . 0 . . . . 1 1 1 1 1 . 1 1 1 . 0 . 0 1 0 . . . . . . . 1 0 1 1 . . . . 1 1 1 0 . . 1 . 0 1 . . 0 1 . 1 . . . 1 0 . . . 1 1 . . 1 . 1 . 1 . . . 1 . 0 . . . 1 . . . . . . . 1 . 1 . 0 . 1 . . . . . 1 . 0 . . . . . . . . . . . . . 0 1 . . 0 1 . . . . . . . . . . . . . . . 1 0 1 1 1 1 1 0 1 1 . . . . . 0 . 0 . 1 1 0 0 . . 0 0 end label values cllzap70 posneglab label values cllcd38f posneglab label def posneglab 0 "Negative", modify label def posneglab 1 "Positive", modify
Comment